/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hirt_20;

import javax.swing.JFrame;

/**
 *
 * @author tpruitt
 */
public class Main
{
    static JFrame mainFrame;
    static GUI form;
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        // TODO code application logic here
        mainFrame = new JFrame();
        form = new GUI();

        mainFrame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
        mainFrame.setLocationRelativeTo( null );

        mainFrame.add( form );
        mainFrame.setSize( form.getPreferredSize().width,
                form.getPreferredSize().height );

        mainFrame.setVisible(true);
    }

}
